#ifndef ADDIMAGE_H
#define ADDIMAGE_H

#include <QtSql>
#include <QDialog>
#include <QMap>
#include <QMessageBox>
#include <QFileDialog>
#include <QPushButton>
#include <QImageReader>
#include <QStyle>
#include "ui_addimage.h"

class AddImage: public QDialog, private Ui::AddImage
{
Q_OBJECT

public:

AddImage(QString last_dir_);
~AddImage();

public slots:

void file_name();
QMap<QString, QString> return_selection();
void type_changed( const QString & type );

signals:

protected:

private:

QString data_dir;
QString last_dir;
QString image_path;
QString image_file;
QString formats;
QString get_formats();

};

#endif // ADDIMAGE_H
